import { ILoginParams } from '@/typings/responseData';
import request from '@/utils/request';

export const loginAPI = (data: ILoginParams) => {
  return request({ url: '/sys/login', method: 'post', data });
};
